exports.memberManager = function (req, res) {

  //判断用户是否登录
  if(!req.session.a_id){
    res.redirect('/managerLogin');
  }

  db.where({"m_tid":req.session.teamValue,"m_is_delete":0}).order("m_profession desc").select("dkp_member",function(rs){
        
    if(rs == 'ERROR'){
        console.log("数据查询失败");  
    }

    Render.viewRender(req,res,'memberManager',{title:"成员管理",memberData:rs})

  })

  

}